#include "mainwindow.h"
#include "./ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_user_clicked()
{
    this->hide();
    User *m=new User;
    m->show();
}


void MainWindow::on_enter_clicked()
{
    this->hide();
    Enter *m=new Enter;
    m->show();
}

